BizExaminer\LearnDashExtension\LearnDash\Quiz\QuizService B

Total Complexity 84
Dependencies 13
Dependents 4
Total lines 1,053
Lines of code 599
Logical lines of code 226
Comment lines 323
Methods 16
Properties 5

Methods 16

Method Rating Maintainability Complexity Lines of code
triggerLearnDashQuizCompleted()
B
36 22 76
startQuiz()
A
32 10 129
updateQuizResults()
A
35 10 102
endQuiz()
S
43 5 57
getQuizExamAccessUrl()
S
44 5 51
getParticipant()
S
51 6 30
buildResultsFromRawResults()
S
50 6 27
triggerLearnDashQuizStarted()
S
52 5 27
triggerLearnDashQuizSubmitted()
S
56 4 20
maybeUpdateQuizResults()
S
55 3 20
buildReturnUrl()
S
59 1 16
buildCallbackUrl()
S
59 1 16
maybeScheduleResultsCheck()
S
66 2 8
handleError()
S
66 2 8
__construct()
S
69 1 7
unscheduleResultsCheck()
S
72 1 5